package br.com.ss.exception;

import br.com.ss.enumeration.EMensageError;


public class DAOException extends BaseException {

	
	private static final long serialVersionUID = -774876774266519644L;

	public DAOException(EMensageError msgErro) {
		super(msgErro.getCodigo(), msgErro.getValue());
	}

	public DAOException(EMensageError msgErro, Object[] params) {
		super(msgErro.getCodigo(), msgErro.getValue(params));
	}
	
	public DAOException(BaseException e) {
		super(e.getCodigo(), e.getMessage());
	}
	
	
}	